// Haxzs Audio Server
// made by omghaxzs
// 2010

#ifndef SETTINGS_H
#define SETTINGS_H

#include "main.h"

class settings {

public:
	settings();
	~settings();

	bool loadSettings();
	bool saveSettings();
	bool loadDefaults();

	std::string getSetting(std::string setting_name);
	std::string setSetting(std::string setting_name, std::string setting_value);
private:
	std::fstream settings_str;
	std::map<std::string, std::string> set;
};

extern settings * setting;

#endif
